Part Number Hot Search : 
PE3745TV HMC128G8 MB90F4 MT9074AP AA4523K5 GW40NC60 2N381011 23200
Product Description
Full Text Search
 

To Download IN16C554 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 1. General Description
IN16C554 is an enhanced quadruple version of the 16C550 UART (Universal Asynchronous Receiver Transmitter).
w status of the UART at any time during the functional operation. The Status information includes the type and condition
of the transfer operations being performed by the UART, as well as any error conditions such as parity, overrun, framing, and break interrupt. IN16C554 includes a programmable baud rate generator which is capable of dividing the timing reference clock input by divisors of 1 to 216-1, and producing a 16x clock for driving the internal transmitter logic. Provisions are also included to use this clock to drive the receiver logic. IN16C554 has complete MODEM-control capability and an interrupt system that can be programmed to the user's requirements, minimizing the computing required to handle the communication links.
a D performs serial-to-parallel conversion on data characters received from a peripheral device or a . Each channel w MODEM, w and parallel-to-serial conversion on data characters received from the CPU. The CPU can read the complete
FIFOs are activated and 16 bytes plus 3 bit of error data per byte can be stored in both receive and transmit modes.
Each channel can be put into FIFO mode to relieve the CPU of excessive software overhead. In this mode, internal
aS t
ee h
4U t
om .c
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
2. Features
number of interrupts to CPU.
In the FIFO mode, Each channel's transmitter and receiver is buffered with 16-byte FIFO to reduce the Adds or deletes standard asynchronous communication bits (start, stop, parity) to or from the serial data. Holding Register and Shift Register eliminate need for precise synchronization between the CPU and serial data. Independently controlled transmit, receive, line status and data interrupts. Programmable Baud Rate Generators which allow division of any input reference clock by 1 to 216-1 and generate an internal 16X clock. Independent receiver clock input
Modem control functions (CTS#, RTS#, DSR#, DTR#, RI#, and DCD#). Fully programmable serial interface characteristics. - 5-, 6-, 7-, or 8-bit characters - Even-, Odd-, or No-Parity bit how many they are) - 1-, 1.5-, 2-Stop bit generation. ( Like other general UARTs, IN16C554 checks only one stop bit, no matter False start bit detection
w
w
w
t a .D
S a
e h
U t4 e
.c
m o
ee Internal diagnostic capabilities : Loop-back controls for communications link fault isolation. Sh Full prioritized interrupt system controls ta a D . w w w
Generates or Detects Line Break
5
4U t
om .c
1
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
3. Signal Description
NAME A0 A1 A2 CS0#, CS1# CS2#, CS3# PIN NO. I/O 34 (48) I 33 (47) 32 (46) 16,20 (28, 33) I 50,54 (68, 73) DESCRIPTION Register select pins. A0, A1, and A2 three inputs are used to select the register of the UART during read and write operations. Chip Select. Each CSx# enables read and write operations to its respective channel. Clear to send. CTSx# is a modem status signal. Its status can be known by reading bit 4 of the modem status register. CTS# does not affect the transmitor receive operation. Data Bus. Eight data lines with 3-state outputs provide a bidirectional path for data, control, and status information between the IN16C554 and the CPU. D0 is the LSB. Data Carrier Detect. A low on DCDx# indicates the carrier has been detected by the modem. Its condition can be known by reading bit 7 of the modem status register.
CTS0#, 11,25 (23, 38) I CTS1# CTS2, CTS3# 45,59 (63, 78) D7~D3, D2~D0 DCD0#, DCD1# DCD2#, DCD3# DSR0#, DSR1# DSR2#, DSR3# DTR0#, DTR1# DTR2#, DTR3# 66~68(15~11) I/O 1~ 5 (9~7)
9,27 (19, 42) 43, 61 (59, 2)
I
10,26 (22, 39) I Data set ready. DSRx# is a modem status signal. The condition of DSRx# can be checked by reading the Bit 5 of the modem status register. DSR# does not 44,60 (62, 79) affect the transmit or receive operation. Data Terminal Ready. DTRx# is an output that indicates to a modem or data set that the UART is ready to establish communications. Setting the DTR bit of the modem control register activates it. DTRx# is placed in inactive state either as a result of the master reset during loop mode operation or clearing bit 0 of the modem control register. signal and power ground Interrupt normal. INTN# in conjunction with bit 3 of the modem status register and affects operation of the four interrupts (INT0~INT3).
12, 24(24, 37) O 46, 58(64,77)
GND
6, 23 (16,36) 40, 57 (56,76)
INTN#
65 (6)
I
INTN# Low or Float
Operation Of Interrupts Interrupts are enabled according to the state of OUT2 (MCR bit 3). When the MCR bit 3 is cleared, the 3-state interrupt output of that UART is in the high Z state. When MCR bit 3 is set, the interrupt output of the UART is enabled. Interrupts are always activated.
High INT0, INT1 INT2, INT3 IOR# 15,21(27,34) 19,55(67,74) 52 (70) I
External interrupt output. When activated, INTx output informs CPU that UART has an interrupt to be serviced. Read strobe. A low level on IOR# transfers the contents of the IN16C554 data bus to the external CPU bus.
2
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
NAME IOW# RESET
PIN NO. 18 (31) 37 (53)
I/O I I
DESCRIPTION Write strobe. IOW# allows the CPU to write into the selected address by the address register. Master reset. When active, RESET clears most UART registers and sets the state of various signals. The transmitter output and he receiver input is disabled during reset time.
RI0#, RI1# RI2#, RI3# RTS0#, RTS1# RTS2#, RTS3#
8, 28 (18,43) 42, 62 (58, 3) 14, 22 (26,35) 48, 56 (66,75)
I
Ring detect indicator. A low on Rix# indicates the modem has received a ring signal from the telephone line. The condition of this signal can be checked by reading bit 6 of the modem status register.
O
Request to Send. When active, RTSx# informs the modem or data set that the UART is ready to receive data. Writing a 1 in the modem control register sets this bit to a low state. After reset, this terminal is set high. These terminals have no affect on the transmit or receive operation.
RXD0, RXD1 RXD2, RXD3 RXRDY # TXD0, TXD1 TXD2, TXD3 TXRDY #
7, 29 (17, 44) 41, 63 (57, 4)
I
Serial Input. RXDx is a serial data input from a connected communications device. During loopback mode, the RXDx input is disabled from external connection and connected to the TXDx output internally. Receive ready. RXRDY# goes low when the receive FIFO is full. It can be used as a single transfer or multi transfer. Transmit output. TXDx is a composite serial data output that is connected to a communications device. TXD1, TXD2, TXD3, and TXD4 are set to the high state as a result of reset. Transmit Ready. TXRDY# goes low when the transmit FIFO is full. It can be used as a single transfer of multi transfer.
38 (54) 17, 19 (29,32) 51, 53 (69,72) 39 (55) 13, 30 (5, 25) 47, 64 (45,65) 35 (50)
O
O
O
VCC XTAL1
Power supply. I Crystal input 1 or external clock input. A crystal can be connected to XTAL1 and XTAL2 to utilize the internal oscillator circuit. An external clock can be connected to drive the internal clock circuits. Crystal output 2 or buffered clock output.
XTAL2
36 (51)
O
At the PIN NO, the number outside the parenthesis means the pin number of the IN16C554PL, and the number inside the parenthesis means the pin number of the IN16C554TQ.
3
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
4. Functional Block Diagram
DATA
D7-D0
16C550
Logic
Receive Control Logic
RXDx
BUS
A2-A0 CSx# IOR# IOW# RESET
C o n tr ol
Logic
16C550
Logic
In t e rr u p t
INTx TXRDY# RXRDY#
16C550
Logic
Transmit Control Logic
TXDx
Logic
XTAL1 XTAL2
Clock
Circuit
16C550
Logic
Modem Control Logic
CTSx# RTSx# DSRx# DTRx# RIx# DCDx#
4
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
5. Register Description
ADDRESS REGISTER MNEMONIC
REGISTER ADDRESS BIT 7 BIT 6 Data bit 6 BIT 5 Data bit 5 BIT 4 Data bit 4 BIT 3 Data bit 3 BIT 2 Data bit 2 BIT 1 Data bit 1 BIT 0 Data bit 0 (LSB) Data bit 6 Data bit 5 Data bit 4 Data bit 3 Data bit 2 Data bit 1 Data bit 0
0
RBR (read only)
Data bit 7 (MSB) Data bit 7 Bit 7 Bit 15 0
0
THR (write only)
0 1 1
DLL DLM IER
Bit 6 Bit 14 0
Bit 5 Bit 13 0
Bit 4 Bit 12 0
Bit 3 Bit 11 (EDSSI) Enable modem status interrupt
Bit 2 Bit 10 (ERLSI) Enable receiver line status interrupt
Bit 1 Bit 9 (ETBEI) Enable Transmitte r Holding register empty interrupt
Bit 0 Bit 8 (ERBI) Enable received data available interrupt
Receiver 2 FCR (write only) 2 IIR (read only) (DLAB) 3 LCR Divisor latch access bit Trigger (MSB) FIFOs Enabled
Receiver Trigger (LSB) FIFOs Enabled Set break
Reserved
Reserved
DMA mode select
Transmit FIFO reset Interrupt ID Bit (2) (STB) Number of Stop bits
Receiver FIFO reset Interrupt ID Bit (1) (WLSB1) Word length select bit 1
FIFO enable 0 interrupt pending (WLSB0) Word length select bit 0 (DTR) Data terminal ready if
0
0
Interrupt ID Bit (3)
Stick Parity
(EPS) Even parity select Loop
(PEN) Parity Enable
OUT2 Enable external interrupt (INT)
Reserved
(RTS) Request to Send
4
MCR
0
0
0
Error in 5 LSR receiver FIFO
(TEMT) Transmitte r registers empty
(THRE) Transmitte r holding register empty (DSR) Data set Ready
(BI) Break interrupt
(FE) Framing Error
(PE) Parity Error
(OE) Overrun error
(DR) Data ready
(DCD) 6 MSR Data carrier detect 7 SCR Bit 7
(RI) Ring indicator
(CTS) Clear to Send
(DCD) Delta data carrier detect
(TERI) Trailing Edge ring indicator Bit 2
(DSR) Delta data set ready
(CTS) Delta clear to send
Bit 6
Bit 5
Bit 4
Bit 3
Bit 1
Bit 0
DLAB = 1 This bit is always in a low state when FIFO is disabled.
5
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
5.1. FIFO control register(FCR)
The FCR is a write-only register at the same address as the IIR. FCR enables FIFO, sets the trigger level of the receiver FIFO, and selects the type of DMA signaling. Bit 0 : FCR0 enables transmit and receiver FIFOs. All bytes in both FIFOs can be cleared by clearing this bit. Data is cleared automatically from the FIFOs when changing from the FIFO mode to the 16C550 mode and vice versa. Programming of other FCR bits is enabled by setting this bit. Bit 1 : When set, FCR1 clears all bytes in the receiver FIFO and resets its counter. This does not clear the shift register. Bit 2 : When set, FRC2 clears all bytes in the transmitter FIFO and resets its counter. This does not clear the shift register. Bit 3 : When set, FRC3 changes RXRDY# and TXRDY# from mode 0 to mode 1 if FCR0 is set. Bit 4, 5 : Reserved for the future use. Bit 6, 7 : FCR6 and FCR7 set the trigger level for the receiver FIFO interrupt. (see Table 1).
Table 1. Receiver FIFO Trigger Level BIT Receiver FIFO Trigger Level 7 6 0 0 01 0 1 04 1 0 08 1 1 14 * FIFO interrupt mode operation The following receiver status occurs when the receiver FIFO and receiver interrupts are enabled. 1. 2. 3. 4. LSR0 is set when a character is transferred from the shift register to the receiver FIFO. When the FIFO is empty, it is reset. Receiver line status interrupt(IIR = 06) has higher priority than the receive data available interrupt(IIR = 04). Receive data available interrupt is issued to the CPU when the programmed trigger level is reached by the FIFO. As soon as the FIFO drops below its programmed trigger level, it is cleared. Receive data available indicator(IIR=04) also occurs when the FIFO reaches its trigger level. It is cleared when the FIFO drops below the programmed trigger level.
The following receiver FIFO character time-out status occurs when receiver FIFO and receiver interrupts are enabled. 1. When the following conditions exist, a FIFO character time-out interrupt occurs. a. b. c. 2. Minimum of one character in FIFO. Last received serial character is longer than four continuous previous character times ago. (If two stop bits are programmed, the second one is included in the time delay. Only the first stop bit is checked by the UART.) The last CPU of the FIFO read is more than four continuous character times earlier.
By using the XTAL1 input for a clock signal, the character times can be calculated. The delay is proportional to the baud rate.
6
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
3. 4.
The time-out timer is reset after the CPU reads the receiver FIFO or after a new character is received. This occurs when there has been no time-out interrupt. A time-out interrupt is cleared and the timer is reset when the CPU reads a character from the receiver FIFO.
Transmit interrupts occurs as follows when the transmitter and transmit FIFO interrupts are enabled (FCR=0, IER=1). 1. 2. When the transmitter FIFO is empty, the transmitter holding register interrupt (IIR=02) occurs. The interrupt is cleared when the transmitter holding register is written to or the IIR is read. 1 to 16 characters can be written to the transmit FIFO when servicing this interrupt. The transmitter FIFO empty indicators are delayed one character time minus the last stop bit time whenever the following occurs. THRE=1, and there has not been a minimum of two bytes at the same time in transmit FIFO since the last THRE=1. The first transmitter interrupt after changing FCR0 is immediate, however, assuming it is enabled. Receiver FIFO trigger level and character time-out interrupts have the same priority as the receive data available interrupt. The transmitter holding register empty interrupt has the same priority as the transmitter FIFO empty interrupt.
5.2. Line Control Register
The format of the data character is controlled by the LCR. Bit 0, 1 : LCR0 and LCR1 are word length select bits. (see Figure 1) Bit 2 : LCR2 is the stop bit select bit. The receiver always checks for one stop bit. Bit 3 : LCR3 is the parity enable bit. When LCR3 is set, a parity bit is generated and checked. Bit 4 : LCR4 is the even parity select bit. When LCR3 and this bit is set, even parity is generated and checked. When LCR3 is set and this bit is cleared, odd parity is selected. Bit 5 : LCR5 is the stick parity select bit. When LCR3 and this bit is set, the transmission and the reception of a parity bit is forced to an opposite state from the value of LCR4. Clearing this bit disenables the stick parity. Bit 6 : LCR6 is a break control bit. When this bit is set, the serial outputs TXDxs are forced to `0'. The break control bit acts only on the serial output and does not affect the transmitter logic. If the following sequence is used, no invalid characters are transmitted because of the break. 1. 2. 3. Load a zero byte in response to the transmitter holding register empty(THRE) status indicator. The next THRE signal in the response of the set the break. Wait for the transmitter to be idle, when transmitter empty status signal is set (TEMT=1) and then clear the break, and start the normal transmission.
Bit 7 : LCR7 is the divisor latch access bit(DLAB). This bit must be set to access the divisor latches DLL and DLM of the baud rate generator during a read or write operation. LCR7 must be cleared to access the Receiver Buffer Register, the Transmitter Holding Register, or the Interrupt Enable Register.
7
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
LCR 0
LCR 0
LCR 0
LCR 0
LCR 0
LCR 0
LCR 0
LCR 0
Word Length Select
0 0 1 1
0 1 0 1
= = = =
5 6 7 8
Data Data Data Data
Bits Bits Bits Bits
Stop Bit Select
0 = 1 Stop Bit 1 = 1.5 Stop Bits if 5 Data Bits Selected 2 Stop Bits if 6,7,8 Data Bits Selected
Parity Enable 1 = Parity Enabled
Even Parity
0 = Odd Parity 1 = Even Parity
0 = Parity Disabled
Stick Parity
0 = Stick Parity Disabled 1 = Stick Parity Enabled
Break Control
0 = Break Disabled 1 = Break Enabled
Divisor Latch 0 = Access Receiver Buffer 1 = Access Divisor Latches Access Bit
Figure 1. Line Control Register
* Programmable Baud Generator The UART contains a programmable Baud Generator that is capable of taking any clock input from DC to 14.7456MHz and dividing it by any divisor from 2 to 216-1. 4MHz is the highest clock input recommended when the divisor = 1. The output frequency of the baud generator is 16 x baud [divisor # = (frequency input)/(baud rate X 16)]. Two 8-bit latches store the divisor in a 16-bit binary format. These Divisor Latches must be loaded during initialization to ensure proper operation of the Baud Generator. (see Table 2.)
Table 2. Baud rates
This table provides decimal divisors to use with crystal frequencies of 1.8432MHz, 3.6864MHz, 7.3728MHz and 14.7456MHz. For baud rates of 38400 and below, the error obtained is minimal. The accuracy of the desired baud rate is dependent on the frequency of the crystal. It is not recommended using a divisor of zero. Desired baud rate 50 75 134.5 150 300 600 1200 1800 2000 2400 3600 4800 7200 9600 19.2K 38.4K 57.6K 115.2K 230.4K 460.8K 921.6K 1.8432MHz 2304 1536 857 768 384 192 96 64 58 48 32 24 16 12 6 3 2 1 Decimal divisor to generate 16x Clock 3.6864MHz 7.3728MHz 4608 9216 3072 6144 1714 3428 1536 3072 768 1536 384 768 192 384 128 256 116 232 96 192 64 128 48 96 32 64 24 48 12 24 6 12 4 8 2 4 1 2 1 14.7456MHz 18432 12288 6856 6144 3072 1536 768 512 464 384 256 192 128 96 48 24 16 8 4 2 1
8
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
5.3. Line Status Register
This register provides status information to the CPU concerning the data transfer. Bit 0 : Data Ready(DR) indicator. Bit 0 is set to a logic 1 whenever a complete incoming character has been received and transferred into the Receiver Buffer Register or the FIFO. This bit is cleared by reading all of the data in the Receiver Buffer Register of the FIFO. Bit 1 : Overrun Error(OE) indicator. Bit 1 indicates that data in the Receiver Buffer Register was not read by the CPU before the next character was transferred into the Receiver Buffer Register, thereby destroying the previous character. This bit is set to a logic 1 when overrun occurs and cleared whenever the CPU reads the contents of the Line Status Register. If the FIFO mode data continues to fill the FIFO beyond the trigger level, an overrun error will occur only after the FIFO is full and the next character has been completely received in the shift register. OE is indicated to the CPU as soon as it happens. The character in the shift register is overwritten, but it is not transferred to the FIFO. Bit 2 : Parity Error indicator. Bit 2 is set to a logic 1 upon detection of a parity error and is reset to a logic 0 whenever CPU reads the contents of the Line Status Register. In the FIFO mode, this error is revealed to CPU when its associated character is at the top of the FIFO. Bit 3 : Framing Error indicator. Bit 3 indicates that the received character did not have a valid stop bit. This bit is set to a logic 1 whenever the stop bit following the last data bit or parity bit is detected as a logic 0 bit. It is reset to a logic 0 whenever CPU reads the contents of the Line Status Register. In the FIFO mode, this error is revealed to CPU when its associated character is at the top of the FIFO. When this error has been detected, CPU assumes it due to a next start bit, so it samples this start bit twice and the take the data. Bit 4 : Break Interrupt indicator. Bit 4 is set to a logic 1 when the received data input is held in the spacing state for longer than a full word transmission time (start bit + data bits + parity bit + stop bits). The BI indicator is reset to a logic 0 whenever the CPU reads the contents of the Line Status Register. In the FIFO mode, this error is revealed to CPU when its associated character is at the top of the FIFO. When break occurs, only one zero character is loaded into the FIFO. The next character transfer is enabled after SIN goes HIGH and receives the next start bit. Bit 5 : Transmitter holding register empty(THRE) indicator. Bit 5 indicates that the UART is ready to take a new character for transmission. In addition, this bit causes the UART to issue an interrupt to the CPU when the Transmit Holding Register Empty interrupt enable is set to HIGH. This bit is set to a logic 1 when a character is transferred from the Transmitter Holding Register into the Transmitter shift register. And it is reset to a logic 0 when the CPU transfers data to the Transmitter Holding Register. In the FIFO mode, this bit is set to a logic 1 when the XMIT FIFO is empty, and is reset to a logic 0 when at least one byte is written to the XMIT FIFO. Bit 6 : Transmitter Empty indicator. This bit is set when the Transmitter Holding Register and Transmitter Shift Register are both empty, and reset to a logic 0 when the THR contains a data character. In the FIFO mode, it is set to a logic 1 when the both the Transmitter FIFO and the Transmitter Shift Register are empty. Bit 7 : In the 16C550 mode, this bit is a 0. In the FIFO mode it is set to a logic 1 when it contains at least one error such as parity error, framing error or break error. This bit is reset to a logic 0 when the CPU reads the Line Status Register and there exists no error.
9
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
5.4. Interrupt Identification Register
In order to provide minimum software overhead during data transfer, the UART prioritizes interrupts into 4 levels and record these in the Interrupt Identification Register. The four levels of interrupt conditions are, in order of priority: Receiver Line Status Received Data Ready Transmitter Holding Register Empty MODEM Status When the CPU accesses the IIR, the UART freezes all interrupts and indicates the highest priority pending interrupt to the CPU. While this CPU access is occurring, the UART records new interrupts, but does not change its current indication until the access is complete.
Bit 0 : This bit can be used in a prioritized interrupt environment to indicate whether an interrupt is pending. When bit 0 is a logic 0, an interrupt is pending and the IIR contents may be used as a pointer to the appropriate interrupt service routine. When bit 0 is a logic 1, no interrupt is pending. Bit 1, 2 : These two bits of the IIR are used to identify the highest priority interrupt pending as indicated in Table 3. Bit 3 : In the 16C550 mode, this bit is 0. In the FIFO mode, this bit is set along with bit 2 when a time-out interrupt is pending. Bit 4, 5 : These two bits are always logic 0. Bit 6, 7 : These two bits are set whenever FCR0 is a logic 1.
Table 3. Interrupt Control Function
FIFO mode only Bit 3 Bit 2 Bit 1 Bit 0 Priority Level 0 0 0 0 1 1 0 1 0 1 0 0 1 2 Interrupt Type Receiver Line Status Receiver Data Available 1 1 0 0 2 Character Timeout Indication 0 0 1 0 3 Transmitter Holding Register Empty 0 0 0 0 4 Modem Status CTS, DSR, RI, DCD Reading the MSR No character has been removed since the last transfer and there was no transfer at the FIFO during the 4 character time. Transmitter Empty Holding Register Reading the IIR (if THR source of the interrupt ) or writing the Receiver Data Available or Trigger level reached Reading the RBR or the FIFO drops below the trigger level Reading the RBR OE, PE, FE, BI Reading the LSR Interrupt Source Interrupt Reset Control Interrupt Identification Register Interrupt set / reset Function
10
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
5.5. Interrupt Enable Register
The IER independently enables the four serial channel interrupt sources that activate the interrupt( INT0, INT1, INT2, INT3) output. All interrupts are disabled by clearing IER0-IER3 of the IER. Interrupts are enabled by setting the appropriate bits of the IER. Disabling the interrupt system inhibits the IIR and the active high interrupt output. All other system functions operate in their normal manner, including the setting of the LSR and MSR. The contents of the IER are described in the following bulleted list.
Bit 0 : When IER0 is set, IER0 enables the received data available interrupt and the timeout interrupts in the FIFO mode. Bit 1 : When IER1 is set, the transmitter holding register empty interrupt is enabled. Bit 2 : When IER2 is set, the receiver line status interrupt is enabled. Bit 3 : When IER3 is set, the modem status interrupt is enabled. Bit 4~7 : These bits are cleared.
5.6. Modem Control Register
The MCR controls the interface with the modem or data set as described in Figure 2. MCR can be written and read. The RTS# and DTR# outputs are directly controlled by their control bits in this register. A high input asserts a low signal at the output terminals. MCR bits 0-4 are shown as follows. Bit 0 : When MCR0 is set, the DTR# output is forced low. When MCR0 is cleared, the DTR# output is forced high. The DTR# output of the serial channel may be input into an inverting line driver in order to obtain the proper polarity input at the modem or data set. Bit 1 : When MCR1 is set, the RTS# output is forced to 0. When MCR1 is cleared, the RTS# output is forced high. The DTR# output of the serial channel may be input into an inverting line driver in order to obtain the proper polarity input at the modem or data set. Bit 2 : MCR2 has no affect on operation. Bit 3 : When MCR3 is set, the external serial channel interrupt is enabled. Bit 4 : MCR4 provides a local loopback feature for diagnostic testing of the channel. When MCR4 is set, serial output TXDx is set to the high state and SIN is disconnected. The output of the TSR is looped back into the RSR input. The four modem control inputs (CTS#, DSR#, DCD#, RI#) are disconnected. The modem control outputs (DTR#, RTS#) are internally connected to the four modem control inputs. The modem control output terminals are forced to their inactive state on the IN16C554. In the diagnostic mode, data transmitted is immediately received. This allows the processor to verify the transmit and receive data path of the selected serial channel. Interrupt control is fully operational; however, interrupts are generated by controlling the lower four MCR bits internally. Interrupts are not generated by activity on the external terminals represented by those four bits. Bit 5~7 : These bits are permanently cleared.
11
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
5.7. Modem Status Register
The MSR provides the CPU with status of the modem input lines for the modem or peripheral devices. The MSR allows the CPU to read the serial channel modem signal inputs by accessing the data bus interface of the UART. It also reads the current status of four bits of the MSR that indicate whether the modem inputs have changed since the last reading of the MSR. The delta status bits are set when a control input from the modem changes states and are cleared when the CPU reads the MSR. The contents of the MSR are shown as follows. Bit 0 : Delta Clear to Send(DCTS) indicator. DCTS indicates that the CTS# input to the serial channel has changed state since it was last read by the CPU. Bit 1 : Delta Data Set Ready(DDSR) indicator. DDSR indicates that the DSR# input to the serial channel has changed state since it was last read by the CPU. Bit 2 : Trailing Edge of Ring Indicator(TERI) indicator. TERI indicates that the RI# input to the serial channel has changed states from low to high since the last time it was read by the CPU. High to low transitions on RI do not activate TERI. Bit 3 : Delta Data Carrier Detect(DDCD) indicator. DDCD indicates that the DCD# input to the serial channel has changed state since it was last read by the CPU. * note : An interrupt is generated whenever the bit0~3 of the MSR is set to a logic 1. Bit 4 : Clear to Send bit. CTS is the complement of the CTS# input from the modem indicating to the serial channel that the modem is ready to provice received data from the serial channel receiver circuitry. When the channel is in the loop mode, MSR4 reflects the value of RTS in the MCR. Bit 5 : Data Set Ready bit. DSR is the complement of the DSR# input from the modem to the serial channel that indicates that the modem is ready to provide received data from the serial channel receiver circuitry. When the channel is in the loop mode, MSR5 reflects the value of DTR in the MCR. Bit 6 : Ring indicator bit. RI is the complement of the Rix# inputs. When the channel is in the loop mode, MSR6 reflects the value of OUT1# in the MCR. Bit 7 : Data Carrier Detect bit. Data carrier detect indicates the status of the data carrier detect input. When the channel is In the loop mode, MSR7 reflects the value of OUT2# in the MCR.
5.8. Scratch Register
This 8-bit read/write register has no affect on either channel of the UART. It is intended to be used by the programmer to hold data temporarily.
12
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
6. Package Diagram
IN16C554PL PACKAGE (Top)
DCD0# RXD0 GND RXD3 VCC DCD3# INTN# RI0# RI3#
D7
D6
D5
D4
D3
D2
D1
DSR0# CTS0# DTR0# VCC RTS0# INT0 CS0# TXD0 IOW# TXD1 CS1# INT1 RTS1# GND DTR1# CTS1# DSR1#
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
9 8 7 6 5 4 3 2 1 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45
D0
DSR3# CTS3# DTR3# GND RTS3# INT3 CS3# TXD3 IOR# TXD2 CS2# INT2 RTS2# VCC DTR2# CTS2# DSR2#
44 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 NC XTAL1 XTAL2 RXD1 RI1# TXRDY# DCD1# RI2# VCC RESET RXRDY# DCD2# RXD2 GND A1 A0 A2
NC - No internal connection
13
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
IN16C554TQ PACKAGE (Top)
RXRDY#
TXRDY#
DCD2#
RESET
RXD2
GND
RXD1
VCC
DCD1#
XTAL2
XTAL1
RI2#
RI1#
NC
NC
NC
NC
DSR2#
CTS2#
60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 61 62 39
A0
A1
A2
NC
NC
DSR1#
DTR2#
VCC
RTS2#
INT2
63 64
65
38
37
CTS1#
DTR1#
36
GND
RTS1#
INT1
66
67 68
35
34
33
CS2#
CS1#
TXD1
IOW#
NC
TXD2
IOR#
NC
TXD3
69 70
71
72 73
32
31
30
29
28
TXD0
CS0#
CS3#
INT3
RTS3#
74
27
26
INT0
RTS0#
VCC
DTR0#
CTS0#
75
76
77
78
GND
DTR3#
25
24
23
CTS3#
DSR3#
NC
79
80
22
21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
DCD0# NC
DSR0#
NC
NC
NC
D4
D5
D2
INTN#
RI3#
D0 D1
D3
D6
D7
DCD3#
RXD3
GND
NC - No internal connection
RXD0
RI0#
VCC
14
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
7. Operating Conditions
7.1. General Operating Conditions
MIN Supply Voltage, Vcc Clock high-level input voltage at XTAL1, VIH(CLK) Clock low-level input voltage at XTAL1, VIL(CLK) High-level input voltage, VIH Low-level input Voltage, VIL Clock frequency, fCLOCK Operating free-air temperature, TA -40 4.75 2 -0.5 2.0 -0.5 NOM 5 MAX 5.25 Vcc 0.8 Vcc+0.5 0.8 16 80 UNIT V V V V V MHz
o
C
7.2. Read cycle timing requirements over recommended ranges of operating free-air temperature and supply voltage (See Fig 1.)
MIN trd tcsr tar tra trcs tfrc trc Pulse duration, IOR# low Set up time, CSx# valid before IOR# low Set up time, A2~A0 valid before IOR# low Hold time, A2~A0 valid after IOR# high Hold time, CSx# valid after IOR# high Delay time, tar+trd+trc Delay time, IOR# high to IOR# or IOW# low 75 10 15 0 0 140 50 MAX UNIT ns ns ns ns ns ns ns
The internal address strobe is always in active state. In the FIFO mode, td1=425ns (min) between reads of the FIFO and the status register.
7.3. Write cycle timing requirements over recommended ranges of operating free-air temperature and supply voltage (See Fig 2.)
MIN twr tcsw taw tds twa twcs tdh tfwc twc Pulse duration, IOW# Setup time, CSx# valid before IOW# Setup time, A2~A0 valid before IOW# Setup time, D7~D0 valid before IOW# Hold time, A2~A0 valid after IOW# Hold time, CSx# valid after IOW# Hold time, D7~D0 valid after IOW# Delay time, taw+twr+twc Delay time, IOW# to IOW# or IOR# 50 10 15 10 5 5 25 120 55 MAX UNIT ns ns ns ns ns ns ns ns ns
7.4. Read cycle switching characteristics over recommended ranges of operating free-air temperature and supply voltage ( See Fig 1.)
MIN trvd thz Enable time, IOR# to D7~D0 valid Disable time, IOR# to D7~D0 released 0 MAX 30 20 UNIT ns ns
15
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
7.5. Transmitter switching characteristics over recommended ranges of operating free-air temperature and supply voltage (See Fig 3~5.)
MIN tirs tsti tsi tsxa thr tir twxi Delay time, INTx to TXDx at start Delay time, TXDx at start to INTx Delay time, IOW# high or low (WR THR) to INTx Delay time, TXDx at start to TXRDY# Propagation delay time, IOW#(WR THR) to INTx Propagation delay time, IOR#(RD IIR) to INTx Propagation delay time, IOW#(WR THR) to TXRDY# 8 8 16 MAX 24 8 32 8 35 30 50 UNIT RCLK cycles RCLK cycles RCLK cycles RCLK cycles ns ns ns
7.6. Receiver switching characteristics over recommended ranges of operating free-air temperature and supply voltage (Fig 6~9.)
MIN tsint trint trint Delay time, stop bit to INTx or stop bit to RXRDY# or read RBR to set interrupt Propagation delay time, Read RBR/LSR to INTx/LSR interrupt Propagation delay time, IOR# RCLK to RXRDY# MAX 1 40 40 UNIT RCLK cycle ns ns
7.7. Modem control switching characteristics over recommended ranges of operating free-air temperature and supply voltage (See Fig 10.)
MIN tmdo tsim trim tsim Propagation delay time, IOW#(WR MCR) to RTSx#, DTRx# Propagation delay time, modem input CTSx#, DSRx#, and DCDx# to INTx Propagation delay time, IOR#(RD MSR) to interrupt Propagation delay time, Rix# to INTx# MAX 50 30 35 30 ns ns ns ns
A[2:0]
VALID ADDRESS
t ra
CSx#
t csr
t frc
t rcs
t ar
IOR#
t rd
t rc
ACTIVE
IOW#
t rvd
t hz
VALID DATA
D[7:0]
Fig 1. Read Cycle Timing
16
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
A[2:0]
VALID ADDRESS t wa
CSx#
t csw t fwc t aw t wcs
IOR#
t wr t wc ACTIVE t ds t dh
IOW#
D[7:0]
VALID DATA
Fig 2. Write Cycle Timing Waveforms
TXDx
START
DATA(5-8)
PARITY
STOP(1-2)
START
t irs
t sti
INTx
t hr t si t hr
IOW# (WR THR)
t ir
IOR# (RD IIR)
Fig 3. Transmitter Timing Waveforms
IOW# (WR THR)
BYTE #1
TXDx
DATA
PARITY
STOP
START
TXRDY#
t wxi t sxa
Fig 4. Transmitter Ready Mode 0 Timing Waveforms
17
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
IOW# (WR THR)
BYTE #16
TXDx
DATA
PARITY
STOP
START
TXRDY#
t wxi
FIFO FULL
t sxa
Fig 5. Transmitter Ready Mode 1 Timing Waveforms
RXDx Sample Clock INTx(TRIGGER LEVEL INTERRUPT (FCR6, 7 = 0, 0)
START
DATA(5-8)
PARITY
STOP
(FIFO AT OR ABOVE TRIGGER LEVEL)
t sint t rint
(FIFO BELOW TRIGGER LEVEL)
LSI INTERRUPT IOR# (RD LSR)
t rint
IOR# (RD RBR)
Fig 6. Receiver FIFO First Byte (Sets RDR) Waveforms
RXDx Sample Clock TIMEOUT OR TRIGGER LEVEL INTERRUPT
STOP
(FIFO AT OR ABOVE TRIGGER LEVEL)
t sint t rint
(FIFO BELOW TRIGGER LEVEL)
LSI INTERRUPT IOR# (RD LSR)
TOP BYTE OF FIFO
t sint t rint
IOR# (RD RBR) PREVIOUS BYTE READ FROM FIFO
Fig 7. Receiver FIFO After First Byte (After RDR Set) Waveforms
18
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
IOR# (RD RBR)
RXDx (FIRST BYTE)
Sample Clock
STOP
RXRDY#
t sint
t rint
Fig 8. Receiver Ready Mode 0 Timing Waveforms
IOR# (RD RBR) RXDx (FIRST BYTE THAT REACHES THE TRIGGER LEVEL) Sample Clock
STOP
RXRDY#
t sint t rint
Fig 9. Receiver Ready Mode 1 Timing Waveforms
IOW# (WR MCR)
t mdo t mdo
RTSx#, DTRx#
CTSx#, DSRx#, DCDx#
INTx
t sim t rim t sim t rim t sim
IOR# (RD MSR)
RIx#
Fig 10. Modem Control Timing Waveforms
19
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
* Typical Clock Circuits
XTAL1 C1 R1 Crystal
IN16C554
R2 C2
XTAL2
-
C1 : 10~30pF, C2 : 40~60pF, R1 : 1M, R2 : 1.5K
8. Mechanical Data
PLCC(Plastic Leaded Chip Carrier) Package
0.995 (25,273) 0.985 (25,019) 0.032 (0.081) 0.026 (0,66) 0.956 (24,282) 0.950 (24,130)
0.18 (4,57) MAX 0.120 (3,05) 0.090 (2,29) 0.02 (0,51) MIN
0.995 (25,273) 0.985 (25,019)
0.956 (24,282) 0.950 (24,130)
0.050 (1,27)
1. 2.
Note All dimensions are in inches (millimeters). Falls within ANSI Y14.5-1982
0.021 (0,53) 0.013 (0,33)
0.469 (11,913) 0.441 (11,201)
0.469 (11,913) 0.441 (11,201)
20
5
IN16C554PL/IN16C554TQ
QUAD-UART
ASYNCHRONOUS COMMUNICATIONS ELEMENT
TQFP(Thin Quad Flat Pack) Package
0,27 0,17
0,50
1,20 MAX
9,50 12,00 14,00 1,05 0,95 1.00
0,10 0,75 0,45
0-7
Note 1. All dimensions are in millimeters. 2. Falls within ANSI Y14.5-1982.
21
5


▲Up To Search▲   

 
Price & Availability of IN16C554

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X